<template>
    <div class="find">
        <div class="notfind"></div>
        <div class="goback">
            <el-button type="primary" plain @click="goback">返回首页</el-button>
        </div>
    </div>
</template>

<script lang="ts">
import { defineComponent, getCurrentInstance } from 'vue';
export default defineComponent({
    setup() {
        const instance: any = getCurrentInstance();
        const GL = instance.appContext.config.globalProperties;
        const goback = () => {
            GL.$router.push({
                name: 'Home'
            });
        };
        return {
            goback
        };
    }
});
</script>

<style lang="scss" scoped>
@import 'index.scss';
</style>
